package com.example.guiguihomemedical.service;

import com.example.guiguihomemedical.entity.Servicepack;

import java.util.List;

public interface ServicepackService {
    void delete(Integer id);

    void add(Servicepack servicepack);

    Servicepack getById(Integer id);

    void update(Servicepack servicepack);

    List<Servicepack> getByName(String name);

    List<Servicepack> getAll();

    List<Servicepack> getByType(String type);
}
